package com.betterman.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author fox
 * @since 2020-08-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="UserMessage对象", description="")
public class UserMessage extends  Base{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "发送消息的用户ID")
    private Long fromUserId;

    @ApiModelProperty(value = "接收消息的用户ID")
    private Long toUserId;

    @ApiModelProperty(value = "消息可能关联的帖子")
    private Long postId;

    @ApiModelProperty(value = "消息可能关联的评论")
    private Long commentId;

    private String content;

    @ApiModelProperty(value = "消息类型")
    private Integer type;

    private Integer status;


}
